﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using log4net;

namespace Keede.Rabbitmq.HandleService.QuickStart
{
    public class CustomerApplicationInit:ApplicationInit
    {

        ILog _logger;

        public CustomerApplicationInit()
        {
            _logger = LogManager.GetLogger("CustomerApplicationInit");
        }

        public override void OnApplicationStart()
        {
            _logger.Info("OnApplicationStart has been executed");
            base.OnApplicationStart();
        }


        public override void OnApplicationStoped()
        {
            _logger.Info("OnApplicationStoped has been executed");
            base.OnApplicationStoped();
        }
    }
}
